home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993 April: Penguin on DISC / ADC Developer CD (1993-04) (''Penguin On DISC'')_iso / Dev.CD Apr 93.iso / Utilities / MPW Interfaces 7.1 Beta / AIncludes / Folders.a < prev    next >
Encoding:
Text File  |  1992-08-28  |  1.6 KB  |  40 lines  |  [TEXT/MPS ]

  1. ; Version: 1.00
  2. ; Created: Friday, October 20, 1989 at 9:11:52 PM
  3. ; File: Folders.a
  4. ;
  5. ; Assembler Interface to the Macintosh Libraries
  6. ; Copyright Apple Computer, Inc. 1989-1991
  7. ; All Rights Reserved
  8. ;
  9. ;--------------------------------------------------------------------
  10.  
  11.     IF &TYPE('__IncludingFolders__') = 'UNDEFINED' THEN
  12. __IncludingFolders__    SET    1
  13.  
  14. kOnSystemDisk     EQU         $8000
  15.  
  16. kCreateFolder     EQU         1                         ; true- create a folder or not
  17. kDontCreateFolder EQU         0                         ; false
  18.  
  19. kSystemFolderType EQU         'macs'                    ; the system folder
  20. kDesktopFolderType EQU        'desk'                    ; the desktop folder; objects in this folder show on the desktop
  21. kTrashFolderType  EQU         'trsh'                    ; the trash folder; objects in this folder show up in the trash
  22. kWhereToEmptyTrashFolderType EQU 'empt'             ; the “empty trash” folder; Finder starts emptying from here down
  23.  
  24. kPrintMonitorDocsFolderType  EQU     'prnt'            ; Print Monitor documents
  25.  
  26. kStartupFolderType EQU        'strt'                    ; Finder objects (applications, documents, DAs, aliases to …) to open at startup go here
  27. kAppleMenuFolderType EQU      'amnu'                    ; Finder objects to put into the Apple menu go here
  28. kControlPanelFolderType EQU    'ctrl'                    ; Control Panels go here (may contain INITs)
  29. kExtensionFolderType EQU      'extn'                    ; Finder extensions go here
  30.  
  31. kPreferencesFolderType EQU    'pref'                    ; preferences for applications go here
  32. kTemporaryFolderType EQU      'temp'                    ; temporary files go here (deleted periodically, but don’t rely on it)
  33.  
  34.                   macro
  35.                   _FindFolder
  36.                   moveq       #0,d0
  37.                   dc.w        $A823
  38.                   endm
  39.  
  40.     ENDIF    ; ...already included